Find and delete all files with specific extension linux
To list all the files with an extention .log
find . -name "*.log" -type f -print0 | xargs -0 /bin/ls
To remove all the files with an extention .log
find . -name "*.log" -type f -print0 | xargs -0 /bin/rm
Search content by categories